<ul>
<?php foreach($context_result as $context): ?>

<li><span>+</span><input <?php if($input_type == 'checkbox'): ?>
                           type="checkbox" name="_id_context[]"
                         <?php else: ?>
                           type="radio" name="_id_context"
                         <?php endif; ?>
                         value="<?php echo $context['id_context']; ?>" />
                  <a href="#none" role="treeitem" aria-expanded="false" wairole="treeitem" class="opener" id="p_<?php echo $context['id_context']; ?>"><?php echo $context['title']; ?></a>
</li>

<?php endforeach; ?>
</ul>
